<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>添加</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery-1.4.2.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery.uploadify.js"></script>
  </head>
  
  <body>
       <form action="${pageContext.request.contextPath}/user_save" method="post" enctype="multipart/form-data" style="margin-left: 200px;margin-top: 200px;">
      电影名:<input type="text" name="mi.name" value="${mi.name }"><br>
      导演:<input type="text" name="mi.director" value="${mi.director }"><br>
      简介:<textarea rows="10" cols="10" name="mi.info" >
      ${mi.info}
      </textarea><br>
   评分: <input type="text" name="mi.score" value="${mi.score}"><br>
      日期:<input type="date" name="date" value="${mi.date}"><br>
 上传电影图片:<input type="file" name="file">
是否热门:      <select name="mi.ishow">
      <option value="1">热门</option>
      <option value="0">不热门</option>
      </select>
       <br>
       演员:<select name="userid">
       <s:iterator value="aList">
       
       <option  value="${id}">
       ${name}
       </option>
       
       </s:iterator>
       
       </select>
编剧:<input type="text" name="mi.bianju" value="${mi.bianju}">
      
      
       <input type="submit" value="提交">
       
       
       </form>
       <script type="text/javascript">
          $(function(){
          
          
          
                    });
          
          
                     </script>
  </body>
</html>
